package com.web.server.entity.enums;

import java.io.Serializable;

/**
 * 枚举表
 */
public class EnumCase implements Serializable {
    public static final String REDIS_ENUMS_CASES = "enumCases";

    public enum KtsLockReason { NO_LOCK/*未加锁*/, EXPIRED/*到期*/, THRESHOLD_LOCK/*到量加锁*/ }

    private Long id;
    private String enumKey;    // 类目，比如 host_status 表示主机状态
    private Integer enumValue; // 枚举值
    private String enumDesc;   // 描述

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getEnumKey() {
        return enumKey;
    }

    public void setEnumKey(String enumKey) {
        this.enumKey = enumKey;
    }

    public Integer getEnumValue() {
        return enumValue;
    }

    public void setEnumValue(Integer enumValue) {
        this.enumValue = enumValue;
    }

    public String getEnumDesc() {
        return enumDesc;
    }

    public void setEnumDesc(String enumDesc) {
        this.enumDesc = enumDesc;
    }
}
